#include<stdio.h>
#include"CPU.cpp"
#define NDEBUG

int main()
{

    printf("1");
    FILE* f = NULL;
    if (!(f = fopen("input.txt", "r")))
        {printf("UNABLE TO OPEN THE FILE"); abort();}
    assemble(f);
    fclose(f);


    FILE* f_ass = NULL;
    if (!(f_ass = fopen("ASSEMBLED.txt", "r")))
        {printf("UNABLE TO OPEN THE FILE"); abort();}
    CPU_run(f_ass);
    fclose(f_ass);
    return 0;
}
